package yunjiao.javatutorials.apache.kafka.model;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 订单
 *
 * @author yangyunjiao
 */
@Data
public class Order {
    private String orderId;
    private String userId;
    private BigDecimal amount;
    private String status;
    private LocalDateTime createTime;
    private List<OrderItem> items;
}
